home *** CD-ROM | disk | FTP | other *** search
- Path: ix.netcom.com!netnews
- From: miker3@ix.netcom.com (Mike Rubenstein)
- Newsgroups: comp.lang.c
- Subject: Re: Standard in C++ missing from C?????
- Date: Sat, 27 Jan 1996 04:13:50 GMT
- Organization: Netcom
- Message-ID: <3109a632.17484416@nntp.ix.netcom.com>
- References: <4eb1dm$ogl@lunar.eclipse.net> <31097fd5.7663872@nntp.ix.netcom.com>
- NNTP-Posting-Host: ix-dc17-13.ix.netcom.com
- X-NETCOM-Date: Fri Jan 26 8:14:02 PM PST 1996
- X-Newsreader: Forte Agent .99c/16.141
-
- miker3@ix.netcom.com (Mike Rubenstein) wrote:
-
- > meritech@eclipse.net wrote:
- >
- > > Does C++ have a standard written for the definition of :
- > >
- > > p = p++;
- > >
- > > My boss asked me, and I have no clue. I know that C basically says that this
- > > is undefined and should NOT be used in a real program. And I know the debate
- > > that rages on and on. BUT, does C++ have this same problem???
- > >
- > > My compiler doesn't complain, but then, that doesn't supprise me either.
- >
- > You really should ask this in comp.lang.c++, but the anser is no. The
- > rules in C++ are the same as in C.
-
- Of course I meant no, C++ does not have a definition of p = p++. It
- most certainly does have this same "problem" (in quotes, because I'm
- not convinced it is a problem in either language).
-
- Michael M Rubenstein
-